package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备信息对象 equipment
 * 
 * @author coderChen
 * @date 2023-12-17
 */
public class Equipment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录编号 */

    private Long id;

    /** 设备号 */
    @Excel(name = "设备号")
    private String equipmentId;

    /** 设备温度 */
    @Excel(name = "设备温度")
    private Long equipmentTemperature;

    /** 部门编号 */
    @Excel(name = "部门编号")
    private Long departmentId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEquipmentId(String equipmentId)
    {
        this.equipmentId = equipmentId;
    }

    public String getEquipmentId()
    {
        return equipmentId;
    }
    public void setEquipmentTemperature(Long equipmentTemperature) 
    {
        this.equipmentTemperature = equipmentTemperature;
    }

    public Long getEquipmentTemperature() 
    {
        return equipmentTemperature;
    }
    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("equipmentId", getEquipmentId())
            .append("equipmentTemperature", getEquipmentTemperature())
            .append("departmentId", getDepartmentId())
            .toString();
    }
}
